


  const state ={
    rowMenuisShow: false,
    tabIndex:"1"
  }

  const mutations ={
    DISPLAY_ROW_MENUS: (state, rowMenuisShow) => {
      state.rowMenuisShow = rowMenuisShow
    },
    SHOW_TABS: (state, tabIndex) => {
      state.tabIndex = tabIndex
    }

  }

  const actions={
    RowMenusStatus({ commit }, userInfo) {
      commit('DISPLAY_ROW_MENUS', userInfo.rowMenuisShow)
    },

    DisplayRowNum({ commit}, state ) {
      commit('SHOW_TABS', state.tabIndex)
    },

  }

export default {
  namespaced: true,
  state,
  mutations,
  actions
}

